import {createRouter, createWebHistory} from 'vue-router'
import Props from '@/views/01_props/Father.vue'
import Event from '@/views/02_custom-event/Father.vue'
import Bus from '@/views/03_mitt/Father.vue'

export default createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/props',
            component: Props
        },
        {
            path: '/event',
            component: Event
        },
        {
            path: '/mitt',
            component: Bus
        }
    ]
})